package com.crm.model.entity.systemManager;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class SysParameterSettingExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public SysParameterSettingExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andSysParameterIdIsNull() {
            addCriterion("sys_parameter_id is null");
            return (Criteria) this;
        }

        public Criteria andSysParameterIdIsNotNull() {
            addCriterion("sys_parameter_id is not null");
            return (Criteria) this;
        }

        public Criteria andSysParameterIdEqualTo(String value) {
            addCriterion("sys_parameter_id =", value, "sysParameterId");
            return (Criteria) this;
        }

        public Criteria andSysParameterIdNotEqualTo(String value) {
            addCriterion("sys_parameter_id <>", value, "sysParameterId");
            return (Criteria) this;
        }

        public Criteria andSysParameterIdGreaterThan(String value) {
            addCriterion("sys_parameter_id >", value, "sysParameterId");
            return (Criteria) this;
        }

        public Criteria andSysParameterIdGreaterThanOrEqualTo(String value) {
            addCriterion("sys_parameter_id >=", value, "sysParameterId");
            return (Criteria) this;
        }

        public Criteria andSysParameterIdLessThan(String value) {
            addCriterion("sys_parameter_id <", value, "sysParameterId");
            return (Criteria) this;
        }

        public Criteria andSysParameterIdLessThanOrEqualTo(String value) {
            addCriterion("sys_parameter_id <=", value, "sysParameterId");
            return (Criteria) this;
        }

        public Criteria andSysParameterIdLike(String value) {
            addCriterion("sys_parameter_id like", value, "sysParameterId");
            return (Criteria) this;
        }

        public Criteria andSysParameterIdNotLike(String value) {
            addCriterion("sys_parameter_id not like", value, "sysParameterId");
            return (Criteria) this;
        }

        public Criteria andSysParameterIdIn(List<String> values) {
            addCriterion("sys_parameter_id in", values, "sysParameterId");
            return (Criteria) this;
        }

        public Criteria andSysParameterIdNotIn(List<String> values) {
            addCriterion("sys_parameter_id not in", values, "sysParameterId");
            return (Criteria) this;
        }

        public Criteria andSysParameterIdBetween(String value1, String value2) {
            addCriterion("sys_parameter_id between", value1, value2, "sysParameterId");
            return (Criteria) this;
        }

        public Criteria andSysParameterIdNotBetween(String value1, String value2) {
            addCriterion("sys_parameter_id not between", value1, value2, "sysParameterId");
            return (Criteria) this;
        }

        public Criteria andNoFollowOutDateIsNull() {
            addCriterion("no_follow_out_date is null");
            return (Criteria) this;
        }

        public Criteria andNoFollowOutDateIsNotNull() {
            addCriterion("no_follow_out_date is not null");
            return (Criteria) this;
        }

        public Criteria andNoFollowOutDateEqualTo(Integer value) {
            addCriterion("no_follow_out_date =", value, "noFollowOutDate");
            return (Criteria) this;
        }

        public Criteria andNoFollowOutDateNotEqualTo(Integer value) {
            addCriterion("no_follow_out_date <>", value, "noFollowOutDate");
            return (Criteria) this;
        }

        public Criteria andNoFollowOutDateGreaterThan(Integer value) {
            addCriterion("no_follow_out_date >", value, "noFollowOutDate");
            return (Criteria) this;
        }

        public Criteria andNoFollowOutDateGreaterThanOrEqualTo(Integer value) {
            addCriterion("no_follow_out_date >=", value, "noFollowOutDate");
            return (Criteria) this;
        }

        public Criteria andNoFollowOutDateLessThan(Integer value) {
            addCriterion("no_follow_out_date <", value, "noFollowOutDate");
            return (Criteria) this;
        }

        public Criteria andNoFollowOutDateLessThanOrEqualTo(Integer value) {
            addCriterion("no_follow_out_date <=", value, "noFollowOutDate");
            return (Criteria) this;
        }

        public Criteria andNoFollowOutDateIn(List<Integer> values) {
            addCriterion("no_follow_out_date in", values, "noFollowOutDate");
            return (Criteria) this;
        }

        public Criteria andNoFollowOutDateNotIn(List<Integer> values) {
            addCriterion("no_follow_out_date not in", values, "noFollowOutDate");
            return (Criteria) this;
        }

        public Criteria andNoFollowOutDateBetween(Integer value1, Integer value2) {
            addCriterion("no_follow_out_date between", value1, value2, "noFollowOutDate");
            return (Criteria) this;
        }

        public Criteria andNoFollowOutDateNotBetween(Integer value1, Integer value2) {
            addCriterion("no_follow_out_date not between", value1, value2, "noFollowOutDate");
            return (Criteria) this;
        }

        public Criteria andNewReceiveNoFollowOutDateIsNull() {
            addCriterion("new_receive_no_follow_out_date is null");
            return (Criteria) this;
        }

        public Criteria andNewReceiveNoFollowOutDateIsNotNull() {
            addCriterion("new_receive_no_follow_out_date is not null");
            return (Criteria) this;
        }

        public Criteria andNewReceiveNoFollowOutDateEqualTo(Integer value) {
            addCriterion("new_receive_no_follow_out_date =", value, "newReceiveNoFollowOutDate");
            return (Criteria) this;
        }

        public Criteria andNewReceiveNoFollowOutDateNotEqualTo(Integer value) {
            addCriterion("new_receive_no_follow_out_date <>", value, "newReceiveNoFollowOutDate");
            return (Criteria) this;
        }

        public Criteria andNewReceiveNoFollowOutDateGreaterThan(Integer value) {
            addCriterion("new_receive_no_follow_out_date >", value, "newReceiveNoFollowOutDate");
            return (Criteria) this;
        }

        public Criteria andNewReceiveNoFollowOutDateGreaterThanOrEqualTo(Integer value) {
            addCriterion("new_receive_no_follow_out_date >=", value, "newReceiveNoFollowOutDate");
            return (Criteria) this;
        }

        public Criteria andNewReceiveNoFollowOutDateLessThan(Integer value) {
            addCriterion("new_receive_no_follow_out_date <", value, "newReceiveNoFollowOutDate");
            return (Criteria) this;
        }

        public Criteria andNewReceiveNoFollowOutDateLessThanOrEqualTo(Integer value) {
            addCriterion("new_receive_no_follow_out_date <=", value, "newReceiveNoFollowOutDate");
            return (Criteria) this;
        }

        public Criteria andNewReceiveNoFollowOutDateIn(List<Integer> values) {
            addCriterion("new_receive_no_follow_out_date in", values, "newReceiveNoFollowOutDate");
            return (Criteria) this;
        }

        public Criteria andNewReceiveNoFollowOutDateNotIn(List<Integer> values) {
            addCriterion("new_receive_no_follow_out_date not in", values, "newReceiveNoFollowOutDate");
            return (Criteria) this;
        }

        public Criteria andNewReceiveNoFollowOutDateBetween(Integer value1, Integer value2) {
            addCriterion("new_receive_no_follow_out_date between", value1, value2, "newReceiveNoFollowOutDate");
            return (Criteria) this;
        }

        public Criteria andNewReceiveNoFollowOutDateNotBetween(Integer value1, Integer value2) {
            addCriterion("new_receive_no_follow_out_date not between", value1, value2, "newReceiveNoFollowOutDate");
            return (Criteria) this;
        }

        public Criteria andOutReceiveDateIsNull() {
            addCriterion("out_receive_date is null");
            return (Criteria) this;
        }

        public Criteria andOutReceiveDateIsNotNull() {
            addCriterion("out_receive_date is not null");
            return (Criteria) this;
        }

        public Criteria andOutReceiveDateEqualTo(Integer value) {
            addCriterion("out_receive_date =", value, "outReceiveDate");
            return (Criteria) this;
        }

        public Criteria andOutReceiveDateNotEqualTo(Integer value) {
            addCriterion("out_receive_date <>", value, "outReceiveDate");
            return (Criteria) this;
        }

        public Criteria andOutReceiveDateGreaterThan(Integer value) {
            addCriterion("out_receive_date >", value, "outReceiveDate");
            return (Criteria) this;
        }

        public Criteria andOutReceiveDateGreaterThanOrEqualTo(Integer value) {
            addCriterion("out_receive_date >=", value, "outReceiveDate");
            return (Criteria) this;
        }

        public Criteria andOutReceiveDateLessThan(Integer value) {
            addCriterion("out_receive_date <", value, "outReceiveDate");
            return (Criteria) this;
        }

        public Criteria andOutReceiveDateLessThanOrEqualTo(Integer value) {
            addCriterion("out_receive_date <=", value, "outReceiveDate");
            return (Criteria) this;
        }

        public Criteria andOutReceiveDateIn(List<Integer> values) {
            addCriterion("out_receive_date in", values, "outReceiveDate");
            return (Criteria) this;
        }

        public Criteria andOutReceiveDateNotIn(List<Integer> values) {
            addCriterion("out_receive_date not in", values, "outReceiveDate");
            return (Criteria) this;
        }

        public Criteria andOutReceiveDateBetween(Integer value1, Integer value2) {
            addCriterion("out_receive_date between", value1, value2, "outReceiveDate");
            return (Criteria) this;
        }

        public Criteria andOutReceiveDateNotBetween(Integer value1, Integer value2) {
            addCriterion("out_receive_date not between", value1, value2, "outReceiveDate");
            return (Criteria) this;
        }

        public Criteria andNoFollowPlanDateIsNull() {
            addCriterion("no_follow_plan_date is null");
            return (Criteria) this;
        }

        public Criteria andNoFollowPlanDateIsNotNull() {
            addCriterion("no_follow_plan_date is not null");
            return (Criteria) this;
        }

        public Criteria andNoFollowPlanDateEqualTo(Integer value) {
            addCriterion("no_follow_plan_date =", value, "noFollowPlanDate");
            return (Criteria) this;
        }

        public Criteria andNoFollowPlanDateNotEqualTo(Integer value) {
            addCriterion("no_follow_plan_date <>", value, "noFollowPlanDate");
            return (Criteria) this;
        }

        public Criteria andNoFollowPlanDateGreaterThan(Integer value) {
            addCriterion("no_follow_plan_date >", value, "noFollowPlanDate");
            return (Criteria) this;
        }

        public Criteria andNoFollowPlanDateGreaterThanOrEqualTo(Integer value) {
            addCriterion("no_follow_plan_date >=", value, "noFollowPlanDate");
            return (Criteria) this;
        }

        public Criteria andNoFollowPlanDateLessThan(Integer value) {
            addCriterion("no_follow_plan_date <", value, "noFollowPlanDate");
            return (Criteria) this;
        }

        public Criteria andNoFollowPlanDateLessThanOrEqualTo(Integer value) {
            addCriterion("no_follow_plan_date <=", value, "noFollowPlanDate");
            return (Criteria) this;
        }

        public Criteria andNoFollowPlanDateIn(List<Integer> values) {
            addCriterion("no_follow_plan_date in", values, "noFollowPlanDate");
            return (Criteria) this;
        }

        public Criteria andNoFollowPlanDateNotIn(List<Integer> values) {
            addCriterion("no_follow_plan_date not in", values, "noFollowPlanDate");
            return (Criteria) this;
        }

        public Criteria andNoFollowPlanDateBetween(Integer value1, Integer value2) {
            addCriterion("no_follow_plan_date between", value1, value2, "noFollowPlanDate");
            return (Criteria) this;
        }

        public Criteria andNoFollowPlanDateNotBetween(Integer value1, Integer value2) {
            addCriterion("no_follow_plan_date not between", value1, value2, "noFollowPlanDate");
            return (Criteria) this;
        }

        public Criteria andMaxCustomerNumIsNull() {
            addCriterion("max_customer_num is null");
            return (Criteria) this;
        }

        public Criteria andMaxCustomerNumIsNotNull() {
            addCriterion("max_customer_num is not null");
            return (Criteria) this;
        }

        public Criteria andMaxCustomerNumEqualTo(Integer value) {
            addCriterion("max_customer_num =", value, "maxCustomerNum");
            return (Criteria) this;
        }

        public Criteria andMaxCustomerNumNotEqualTo(Integer value) {
            addCriterion("max_customer_num <>", value, "maxCustomerNum");
            return (Criteria) this;
        }

        public Criteria andMaxCustomerNumGreaterThan(Integer value) {
            addCriterion("max_customer_num >", value, "maxCustomerNum");
            return (Criteria) this;
        }

        public Criteria andMaxCustomerNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("max_customer_num >=", value, "maxCustomerNum");
            return (Criteria) this;
        }

        public Criteria andMaxCustomerNumLessThan(Integer value) {
            addCriterion("max_customer_num <", value, "maxCustomerNum");
            return (Criteria) this;
        }

        public Criteria andMaxCustomerNumLessThanOrEqualTo(Integer value) {
            addCriterion("max_customer_num <=", value, "maxCustomerNum");
            return (Criteria) this;
        }

        public Criteria andMaxCustomerNumIn(List<Integer> values) {
            addCriterion("max_customer_num in", values, "maxCustomerNum");
            return (Criteria) this;
        }

        public Criteria andMaxCustomerNumNotIn(List<Integer> values) {
            addCriterion("max_customer_num not in", values, "maxCustomerNum");
            return (Criteria) this;
        }

        public Criteria andMaxCustomerNumBetween(Integer value1, Integer value2) {
            addCriterion("max_customer_num between", value1, value2, "maxCustomerNum");
            return (Criteria) this;
        }

        public Criteria andMaxCustomerNumNotBetween(Integer value1, Integer value2) {
            addCriterion("max_customer_num not between", value1, value2, "maxCustomerNum");
            return (Criteria) this;
        }

        public Criteria andMaxCustomerProtectNumIsNull() {
            addCriterion("max_customer_protect_num is null");
            return (Criteria) this;
        }

        public Criteria andMaxCustomerProtectNumIsNotNull() {
            addCriterion("max_customer_protect_num is not null");
            return (Criteria) this;
        }

        public Criteria andMaxCustomerProtectNumEqualTo(Integer value) {
            addCriterion("max_customer_protect_num =", value, "maxCustomerProtectNum");
            return (Criteria) this;
        }

        public Criteria andMaxCustomerProtectNumNotEqualTo(Integer value) {
            addCriterion("max_customer_protect_num <>", value, "maxCustomerProtectNum");
            return (Criteria) this;
        }

        public Criteria andMaxCustomerProtectNumGreaterThan(Integer value) {
            addCriterion("max_customer_protect_num >", value, "maxCustomerProtectNum");
            return (Criteria) this;
        }

        public Criteria andMaxCustomerProtectNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("max_customer_protect_num >=", value, "maxCustomerProtectNum");
            return (Criteria) this;
        }

        public Criteria andMaxCustomerProtectNumLessThan(Integer value) {
            addCriterion("max_customer_protect_num <", value, "maxCustomerProtectNum");
            return (Criteria) this;
        }

        public Criteria andMaxCustomerProtectNumLessThanOrEqualTo(Integer value) {
            addCriterion("max_customer_protect_num <=", value, "maxCustomerProtectNum");
            return (Criteria) this;
        }

        public Criteria andMaxCustomerProtectNumIn(List<Integer> values) {
            addCriterion("max_customer_protect_num in", values, "maxCustomerProtectNum");
            return (Criteria) this;
        }

        public Criteria andMaxCustomerProtectNumNotIn(List<Integer> values) {
            addCriterion("max_customer_protect_num not in", values, "maxCustomerProtectNum");
            return (Criteria) this;
        }

        public Criteria andMaxCustomerProtectNumBetween(Integer value1, Integer value2) {
            addCriterion("max_customer_protect_num between", value1, value2, "maxCustomerProtectNum");
            return (Criteria) this;
        }

        public Criteria andMaxCustomerProtectNumNotBetween(Integer value1, Integer value2) {
            addCriterion("max_customer_protect_num not between", value1, value2, "maxCustomerProtectNum");
            return (Criteria) this;
        }

        public Criteria andDateReceiveCustomerMaxNumIsNull() {
            addCriterion("date_receive_customer_max_num is null");
            return (Criteria) this;
        }

        public Criteria andDateReceiveCustomerMaxNumIsNotNull() {
            addCriterion("date_receive_customer_max_num is not null");
            return (Criteria) this;
        }

        public Criteria andDateReceiveCustomerMaxNumEqualTo(Integer value) {
            addCriterion("date_receive_customer_max_num =", value, "dateReceiveCustomerMaxNum");
            return (Criteria) this;
        }

        public Criteria andDateReceiveCustomerMaxNumNotEqualTo(Integer value) {
            addCriterion("date_receive_customer_max_num <>", value, "dateReceiveCustomerMaxNum");
            return (Criteria) this;
        }

        public Criteria andDateReceiveCustomerMaxNumGreaterThan(Integer value) {
            addCriterion("date_receive_customer_max_num >", value, "dateReceiveCustomerMaxNum");
            return (Criteria) this;
        }

        public Criteria andDateReceiveCustomerMaxNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("date_receive_customer_max_num >=", value, "dateReceiveCustomerMaxNum");
            return (Criteria) this;
        }

        public Criteria andDateReceiveCustomerMaxNumLessThan(Integer value) {
            addCriterion("date_receive_customer_max_num <", value, "dateReceiveCustomerMaxNum");
            return (Criteria) this;
        }

        public Criteria andDateReceiveCustomerMaxNumLessThanOrEqualTo(Integer value) {
            addCriterion("date_receive_customer_max_num <=", value, "dateReceiveCustomerMaxNum");
            return (Criteria) this;
        }

        public Criteria andDateReceiveCustomerMaxNumIn(List<Integer> values) {
            addCriterion("date_receive_customer_max_num in", values, "dateReceiveCustomerMaxNum");
            return (Criteria) this;
        }

        public Criteria andDateReceiveCustomerMaxNumNotIn(List<Integer> values) {
            addCriterion("date_receive_customer_max_num not in", values, "dateReceiveCustomerMaxNum");
            return (Criteria) this;
        }

        public Criteria andDateReceiveCustomerMaxNumBetween(Integer value1, Integer value2) {
            addCriterion("date_receive_customer_max_num between", value1, value2, "dateReceiveCustomerMaxNum");
            return (Criteria) this;
        }

        public Criteria andDateReceiveCustomerMaxNumNotBetween(Integer value1, Integer value2) {
            addCriterion("date_receive_customer_max_num not between", value1, value2, "dateReceiveCustomerMaxNum");
            return (Criteria) this;
        }

        public Criteria andMemberExpirationDateIsNull() {
            addCriterion("member_expiration_date is null");
            return (Criteria) this;
        }

        public Criteria andMemberExpirationDateIsNotNull() {
            addCriterion("member_expiration_date is not null");
            return (Criteria) this;
        }

        public Criteria andMemberExpirationDateEqualTo(Integer value) {
            addCriterion("member_expiration_date =", value, "memberExpirationDate");
            return (Criteria) this;
        }

        public Criteria andMemberExpirationDateNotEqualTo(Integer value) {
            addCriterion("member_expiration_date <>", value, "memberExpirationDate");
            return (Criteria) this;
        }

        public Criteria andMemberExpirationDateGreaterThan(Integer value) {
            addCriterion("member_expiration_date >", value, "memberExpirationDate");
            return (Criteria) this;
        }

        public Criteria andMemberExpirationDateGreaterThanOrEqualTo(Integer value) {
            addCriterion("member_expiration_date >=", value, "memberExpirationDate");
            return (Criteria) this;
        }

        public Criteria andMemberExpirationDateLessThan(Integer value) {
            addCriterion("member_expiration_date <", value, "memberExpirationDate");
            return (Criteria) this;
        }

        public Criteria andMemberExpirationDateLessThanOrEqualTo(Integer value) {
            addCriterion("member_expiration_date <=", value, "memberExpirationDate");
            return (Criteria) this;
        }

        public Criteria andMemberExpirationDateIn(List<Integer> values) {
            addCriterion("member_expiration_date in", values, "memberExpirationDate");
            return (Criteria) this;
        }

        public Criteria andMemberExpirationDateNotIn(List<Integer> values) {
            addCriterion("member_expiration_date not in", values, "memberExpirationDate");
            return (Criteria) this;
        }

        public Criteria andMemberExpirationDateBetween(Integer value1, Integer value2) {
            addCriterion("member_expiration_date between", value1, value2, "memberExpirationDate");
            return (Criteria) this;
        }

        public Criteria andMemberExpirationDateNotBetween(Integer value1, Integer value2) {
            addCriterion("member_expiration_date not between", value1, value2, "memberExpirationDate");
            return (Criteria) this;
        }

        public Criteria andReturnMoneyDayNumIsNull() {
            addCriterion("return_money_day_num is null");
            return (Criteria) this;
        }

        public Criteria andReturnMoneyDayNumIsNotNull() {
            addCriterion("return_money_day_num is not null");
            return (Criteria) this;
        }

        public Criteria andReturnMoneyDayNumEqualTo(Integer value) {
            addCriterion("return_money_day_num =", value, "returnMoneyDayNum");
            return (Criteria) this;
        }

        public Criteria andReturnMoneyDayNumNotEqualTo(Integer value) {
            addCriterion("return_money_day_num <>", value, "returnMoneyDayNum");
            return (Criteria) this;
        }

        public Criteria andReturnMoneyDayNumGreaterThan(Integer value) {
            addCriterion("return_money_day_num >", value, "returnMoneyDayNum");
            return (Criteria) this;
        }

        public Criteria andReturnMoneyDayNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("return_money_day_num >=", value, "returnMoneyDayNum");
            return (Criteria) this;
        }

        public Criteria andReturnMoneyDayNumLessThan(Integer value) {
            addCriterion("return_money_day_num <", value, "returnMoneyDayNum");
            return (Criteria) this;
        }

        public Criteria andReturnMoneyDayNumLessThanOrEqualTo(Integer value) {
            addCriterion("return_money_day_num <=", value, "returnMoneyDayNum");
            return (Criteria) this;
        }

        public Criteria andReturnMoneyDayNumIn(List<Integer> values) {
            addCriterion("return_money_day_num in", values, "returnMoneyDayNum");
            return (Criteria) this;
        }

        public Criteria andReturnMoneyDayNumNotIn(List<Integer> values) {
            addCriterion("return_money_day_num not in", values, "returnMoneyDayNum");
            return (Criteria) this;
        }

        public Criteria andReturnMoneyDayNumBetween(Integer value1, Integer value2) {
            addCriterion("return_money_day_num between", value1, value2, "returnMoneyDayNum");
            return (Criteria) this;
        }

        public Criteria andReturnMoneyDayNumNotBetween(Integer value1, Integer value2) {
            addCriterion("return_money_day_num not between", value1, value2, "returnMoneyDayNum");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdIsNull() {
            addCriterion("create_people_id is null");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdIsNotNull() {
            addCriterion("create_people_id is not null");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdEqualTo(String value) {
            addCriterion("create_people_id =", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdNotEqualTo(String value) {
            addCriterion("create_people_id <>", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdGreaterThan(String value) {
            addCriterion("create_people_id >", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdGreaterThanOrEqualTo(String value) {
            addCriterion("create_people_id >=", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdLessThan(String value) {
            addCriterion("create_people_id <", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdLessThanOrEqualTo(String value) {
            addCriterion("create_people_id <=", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdLike(String value) {
            addCriterion("create_people_id like", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdNotLike(String value) {
            addCriterion("create_people_id not like", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdIn(List<String> values) {
            addCriterion("create_people_id in", values, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdNotIn(List<String> values) {
            addCriterion("create_people_id not in", values, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdBetween(String value1, String value2) {
            addCriterion("create_people_id between", value1, value2, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdNotBetween(String value1, String value2) {
            addCriterion("create_people_id not between", value1, value2, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreateTmIsNull() {
            addCriterion("create_tm is null");
            return (Criteria) this;
        }

        public Criteria andCreateTmIsNotNull() {
            addCriterion("create_tm is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTmEqualTo(Date value) {
            addCriterion("create_tm =", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmNotEqualTo(Date value) {
            addCriterion("create_tm <>", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmGreaterThan(Date value) {
            addCriterion("create_tm >", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmGreaterThanOrEqualTo(Date value) {
            addCriterion("create_tm >=", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmLessThan(Date value) {
            addCriterion("create_tm <", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmLessThanOrEqualTo(Date value) {
            addCriterion("create_tm <=", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmIn(List<Date> values) {
            addCriterion("create_tm in", values, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmNotIn(List<Date> values) {
            addCriterion("create_tm not in", values, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmBetween(Date value1, Date value2) {
            addCriterion("create_tm between", value1, value2, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmNotBetween(Date value1, Date value2) {
            addCriterion("create_tm not between", value1, value2, "createTm");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdIsNull() {
            addCriterion("update_people_id is null");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdIsNotNull() {
            addCriterion("update_people_id is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdEqualTo(String value) {
            addCriterion("update_people_id =", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdNotEqualTo(String value) {
            addCriterion("update_people_id <>", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdGreaterThan(String value) {
            addCriterion("update_people_id >", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdGreaterThanOrEqualTo(String value) {
            addCriterion("update_people_id >=", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdLessThan(String value) {
            addCriterion("update_people_id <", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdLessThanOrEqualTo(String value) {
            addCriterion("update_people_id <=", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdLike(String value) {
            addCriterion("update_people_id like", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdNotLike(String value) {
            addCriterion("update_people_id not like", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdIn(List<String> values) {
            addCriterion("update_people_id in", values, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdNotIn(List<String> values) {
            addCriterion("update_people_id not in", values, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdBetween(String value1, String value2) {
            addCriterion("update_people_id between", value1, value2, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdNotBetween(String value1, String value2) {
            addCriterion("update_people_id not between", value1, value2, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdateTmIsNull() {
            addCriterion("update_tm is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTmIsNotNull() {
            addCriterion("update_tm is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTmEqualTo(Date value) {
            addCriterion("update_tm =", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmNotEqualTo(Date value) {
            addCriterion("update_tm <>", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmGreaterThan(Date value) {
            addCriterion("update_tm >", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmGreaterThanOrEqualTo(Date value) {
            addCriterion("update_tm >=", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmLessThan(Date value) {
            addCriterion("update_tm <", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmLessThanOrEqualTo(Date value) {
            addCriterion("update_tm <=", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmIn(List<Date> values) {
            addCriterion("update_tm in", values, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmNotIn(List<Date> values) {
            addCriterion("update_tm not in", values, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmBetween(Date value1, Date value2) {
            addCriterion("update_tm between", value1, value2, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmNotBetween(Date value1, Date value2) {
            addCriterion("update_tm not between", value1, value2, "updateTm");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusIsNull() {
            addCriterion("delete_status is null");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusIsNotNull() {
            addCriterion("delete_status is not null");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusEqualTo(Integer value) {
            addCriterion("delete_status =", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusNotEqualTo(Integer value) {
            addCriterion("delete_status <>", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusGreaterThan(Integer value) {
            addCriterion("delete_status >", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("delete_status >=", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusLessThan(Integer value) {
            addCriterion("delete_status <", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusLessThanOrEqualTo(Integer value) {
            addCriterion("delete_status <=", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusIn(List<Integer> values) {
            addCriterion("delete_status in", values, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusNotIn(List<Integer> values) {
            addCriterion("delete_status not in", values, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusBetween(Integer value1, Integer value2) {
            addCriterion("delete_status between", value1, value2, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("delete_status not between", value1, value2, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andContactCodeStatusIsNull() {
            addCriterion("contact_code_status is null");
            return (Criteria) this;
        }

        public Criteria andContactCodeStatusIsNotNull() {
            addCriterion("contact_code_status is not null");
            return (Criteria) this;
        }

        public Criteria andContactCodeStatusEqualTo(Integer value) {
            addCriterion("contact_code_status =", value, "contactCodeStatus");
            return (Criteria) this;
        }

        public Criteria andContactCodeStatusNotEqualTo(Integer value) {
            addCriterion("contact_code_status <>", value, "contactCodeStatus");
            return (Criteria) this;
        }

        public Criteria andContactCodeStatusGreaterThan(Integer value) {
            addCriterion("contact_code_status >", value, "contactCodeStatus");
            return (Criteria) this;
        }

        public Criteria andContactCodeStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("contact_code_status >=", value, "contactCodeStatus");
            return (Criteria) this;
        }

        public Criteria andContactCodeStatusLessThan(Integer value) {
            addCriterion("contact_code_status <", value, "contactCodeStatus");
            return (Criteria) this;
        }

        public Criteria andContactCodeStatusLessThanOrEqualTo(Integer value) {
            addCriterion("contact_code_status <=", value, "contactCodeStatus");
            return (Criteria) this;
        }

        public Criteria andContactCodeStatusIn(List<Integer> values) {
            addCriterion("contact_code_status in", values, "contactCodeStatus");
            return (Criteria) this;
        }

        public Criteria andContactCodeStatusNotIn(List<Integer> values) {
            addCriterion("contact_code_status not in", values, "contactCodeStatus");
            return (Criteria) this;
        }

        public Criteria andContactCodeStatusBetween(Integer value1, Integer value2) {
            addCriterion("contact_code_status between", value1, value2, "contactCodeStatus");
            return (Criteria) this;
        }

        public Criteria andContactCodeStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("contact_code_status not between", value1, value2, "contactCodeStatus");
            return (Criteria) this;
        }

        public Criteria andInternalTrainingReleaseIsNull() {
            addCriterion("Internal_training_release is null");
            return (Criteria) this;
        }

        public Criteria andInternalTrainingReleaseIsNotNull() {
            addCriterion("Internal_training_release is not null");
            return (Criteria) this;
        }

        public Criteria andInternalTrainingReleaseEqualTo(Integer value) {
            addCriterion("Internal_training_release =", value, "internalTrainingRelease");
            return (Criteria) this;
        }

        public Criteria andInternalTrainingReleaseNotEqualTo(Integer value) {
            addCriterion("Internal_training_release <>", value, "internalTrainingRelease");
            return (Criteria) this;
        }

        public Criteria andInternalTrainingReleaseGreaterThan(Integer value) {
            addCriterion("Internal_training_release >", value, "internalTrainingRelease");
            return (Criteria) this;
        }

        public Criteria andInternalTrainingReleaseGreaterThanOrEqualTo(Integer value) {
            addCriterion("Internal_training_release >=", value, "internalTrainingRelease");
            return (Criteria) this;
        }

        public Criteria andInternalTrainingReleaseLessThan(Integer value) {
            addCriterion("Internal_training_release <", value, "internalTrainingRelease");
            return (Criteria) this;
        }

        public Criteria andInternalTrainingReleaseLessThanOrEqualTo(Integer value) {
            addCriterion("Internal_training_release <=", value, "internalTrainingRelease");
            return (Criteria) this;
        }

        public Criteria andInternalTrainingReleaseIn(List<Integer> values) {
            addCriterion("Internal_training_release in", values, "internalTrainingRelease");
            return (Criteria) this;
        }

        public Criteria andInternalTrainingReleaseNotIn(List<Integer> values) {
            addCriterion("Internal_training_release not in", values, "internalTrainingRelease");
            return (Criteria) this;
        }

        public Criteria andInternalTrainingReleaseBetween(Integer value1, Integer value2) {
            addCriterion("Internal_training_release between", value1, value2, "internalTrainingRelease");
            return (Criteria) this;
        }

        public Criteria andInternalTrainingReleaseNotBetween(Integer value1, Integer value2) {
            addCriterion("Internal_training_release not between", value1, value2, "internalTrainingRelease");
            return (Criteria) this;
        }

        public Criteria andBankRelateSwitchIsNull() {
            addCriterion("bank_relate_switch is null");
            return (Criteria) this;
        }

        public Criteria andBankRelateSwitchIsNotNull() {
            addCriterion("bank_relate_switch is not null");
            return (Criteria) this;
        }

        public Criteria andBankRelateSwitchEqualTo(String value) {
            addCriterion("bank_relate_switch =", value, "bankRelateSwitch");
            return (Criteria) this;
        }

        public Criteria andBankRelateSwitchNotEqualTo(String value) {
            addCriterion("bank_relate_switch <>", value, "bankRelateSwitch");
            return (Criteria) this;
        }

        public Criteria andBankRelateSwitchGreaterThan(String value) {
            addCriterion("bank_relate_switch >", value, "bankRelateSwitch");
            return (Criteria) this;
        }

        public Criteria andBankRelateSwitchGreaterThanOrEqualTo(String value) {
            addCriterion("bank_relate_switch >=", value, "bankRelateSwitch");
            return (Criteria) this;
        }

        public Criteria andBankRelateSwitchLessThan(String value) {
            addCriterion("bank_relate_switch <", value, "bankRelateSwitch");
            return (Criteria) this;
        }

        public Criteria andBankRelateSwitchLessThanOrEqualTo(String value) {
            addCriterion("bank_relate_switch <=", value, "bankRelateSwitch");
            return (Criteria) this;
        }

        public Criteria andBankRelateSwitchLike(String value) {
            addCriterion("bank_relate_switch like", value, "bankRelateSwitch");
            return (Criteria) this;
        }

        public Criteria andBankRelateSwitchNotLike(String value) {
            addCriterion("bank_relate_switch not like", value, "bankRelateSwitch");
            return (Criteria) this;
        }

        public Criteria andBankRelateSwitchIn(List<String> values) {
            addCriterion("bank_relate_switch in", values, "bankRelateSwitch");
            return (Criteria) this;
        }

        public Criteria andBankRelateSwitchNotIn(List<String> values) {
            addCriterion("bank_relate_switch not in", values, "bankRelateSwitch");
            return (Criteria) this;
        }

        public Criteria andBankRelateSwitchBetween(String value1, String value2) {
            addCriterion("bank_relate_switch between", value1, value2, "bankRelateSwitch");
            return (Criteria) this;
        }

        public Criteria andBankRelateSwitchNotBetween(String value1, String value2) {
            addCriterion("bank_relate_switch not between", value1, value2, "bankRelateSwitch");
            return (Criteria) this;
        }

        public Criteria andRefundSwitchIsNull() {
            addCriterion("refund_switch is null");
            return (Criteria) this;
        }

        public Criteria andRefundSwitchIsNotNull() {
            addCriterion("refund_switch is not null");
            return (Criteria) this;
        }

        public Criteria andRefundSwitchEqualTo(String value) {
            addCriterion("refund_switch =", value, "refundSwitch");
            return (Criteria) this;
        }

        public Criteria andRefundSwitchNotEqualTo(String value) {
            addCriterion("refund_switch <>", value, "refundSwitch");
            return (Criteria) this;
        }

        public Criteria andRefundSwitchGreaterThan(String value) {
            addCriterion("refund_switch >", value, "refundSwitch");
            return (Criteria) this;
        }

        public Criteria andRefundSwitchGreaterThanOrEqualTo(String value) {
            addCriterion("refund_switch >=", value, "refundSwitch");
            return (Criteria) this;
        }

        public Criteria andRefundSwitchLessThan(String value) {
            addCriterion("refund_switch <", value, "refundSwitch");
            return (Criteria) this;
        }

        public Criteria andRefundSwitchLessThanOrEqualTo(String value) {
            addCriterion("refund_switch <=", value, "refundSwitch");
            return (Criteria) this;
        }

        public Criteria andRefundSwitchLike(String value) {
            addCriterion("refund_switch like", value, "refundSwitch");
            return (Criteria) this;
        }

        public Criteria andRefundSwitchNotLike(String value) {
            addCriterion("refund_switch not like", value, "refundSwitch");
            return (Criteria) this;
        }

        public Criteria andRefundSwitchIn(List<String> values) {
            addCriterion("refund_switch in", values, "refundSwitch");
            return (Criteria) this;
        }

        public Criteria andRefundSwitchNotIn(List<String> values) {
            addCriterion("refund_switch not in", values, "refundSwitch");
            return (Criteria) this;
        }

        public Criteria andRefundSwitchBetween(String value1, String value2) {
            addCriterion("refund_switch between", value1, value2, "refundSwitch");
            return (Criteria) this;
        }

        public Criteria andRefundSwitchNotBetween(String value1, String value2) {
            addCriterion("refund_switch not between", value1, value2, "refundSwitch");
            return (Criteria) this;
        }

        public Criteria andCommissionSwitchIsNull() {
            addCriterion("commission_switch is null");
            return (Criteria) this;
        }

        public Criteria andCommissionSwitchIsNotNull() {
            addCriterion("commission_switch is not null");
            return (Criteria) this;
        }

        public Criteria andCommissionSwitchEqualTo(String value) {
            addCriterion("commission_switch =", value, "commissionSwitch");
            return (Criteria) this;
        }

        public Criteria andCommissionSwitchNotEqualTo(String value) {
            addCriterion("commission_switch <>", value, "commissionSwitch");
            return (Criteria) this;
        }

        public Criteria andCommissionSwitchGreaterThan(String value) {
            addCriterion("commission_switch >", value, "commissionSwitch");
            return (Criteria) this;
        }

        public Criteria andCommissionSwitchGreaterThanOrEqualTo(String value) {
            addCriterion("commission_switch >=", value, "commissionSwitch");
            return (Criteria) this;
        }

        public Criteria andCommissionSwitchLessThan(String value) {
            addCriterion("commission_switch <", value, "commissionSwitch");
            return (Criteria) this;
        }

        public Criteria andCommissionSwitchLessThanOrEqualTo(String value) {
            addCriterion("commission_switch <=", value, "commissionSwitch");
            return (Criteria) this;
        }

        public Criteria andCommissionSwitchLike(String value) {
            addCriterion("commission_switch like", value, "commissionSwitch");
            return (Criteria) this;
        }

        public Criteria andCommissionSwitchNotLike(String value) {
            addCriterion("commission_switch not like", value, "commissionSwitch");
            return (Criteria) this;
        }

        public Criteria andCommissionSwitchIn(List<String> values) {
            addCriterion("commission_switch in", values, "commissionSwitch");
            return (Criteria) this;
        }

        public Criteria andCommissionSwitchNotIn(List<String> values) {
            addCriterion("commission_switch not in", values, "commissionSwitch");
            return (Criteria) this;
        }

        public Criteria andCommissionSwitchBetween(String value1, String value2) {
            addCriterion("commission_switch between", value1, value2, "commissionSwitch");
            return (Criteria) this;
        }

        public Criteria andCommissionSwitchNotBetween(String value1, String value2) {
            addCriterion("commission_switch not between", value1, value2, "commissionSwitch");
            return (Criteria) this;
        }

        public Criteria andBankImportSwitchIsNull() {
            addCriterion("bank_import_switch is null");
            return (Criteria) this;
        }

        public Criteria andBankImportSwitchIsNotNull() {
            addCriterion("bank_import_switch is not null");
            return (Criteria) this;
        }

        public Criteria andBankImportSwitchEqualTo(String value) {
            addCriterion("bank_import_switch =", value, "bankImportSwitch");
            return (Criteria) this;
        }

        public Criteria andBankImportSwitchNotEqualTo(String value) {
            addCriterion("bank_import_switch <>", value, "bankImportSwitch");
            return (Criteria) this;
        }

        public Criteria andBankImportSwitchGreaterThan(String value) {
            addCriterion("bank_import_switch >", value, "bankImportSwitch");
            return (Criteria) this;
        }

        public Criteria andBankImportSwitchGreaterThanOrEqualTo(String value) {
            addCriterion("bank_import_switch >=", value, "bankImportSwitch");
            return (Criteria) this;
        }

        public Criteria andBankImportSwitchLessThan(String value) {
            addCriterion("bank_import_switch <", value, "bankImportSwitch");
            return (Criteria) this;
        }

        public Criteria andBankImportSwitchLessThanOrEqualTo(String value) {
            addCriterion("bank_import_switch <=", value, "bankImportSwitch");
            return (Criteria) this;
        }

        public Criteria andBankImportSwitchLike(String value) {
            addCriterion("bank_import_switch like", value, "bankImportSwitch");
            return (Criteria) this;
        }

        public Criteria andBankImportSwitchNotLike(String value) {
            addCriterion("bank_import_switch not like", value, "bankImportSwitch");
            return (Criteria) this;
        }

        public Criteria andBankImportSwitchIn(List<String> values) {
            addCriterion("bank_import_switch in", values, "bankImportSwitch");
            return (Criteria) this;
        }

        public Criteria andBankImportSwitchNotIn(List<String> values) {
            addCriterion("bank_import_switch not in", values, "bankImportSwitch");
            return (Criteria) this;
        }

        public Criteria andBankImportSwitchBetween(String value1, String value2) {
            addCriterion("bank_import_switch between", value1, value2, "bankImportSwitch");
            return (Criteria) this;
        }

        public Criteria andBankImportSwitchNotBetween(String value1, String value2) {
            addCriterion("bank_import_switch not between", value1, value2, "bankImportSwitch");
            return (Criteria) this;
        }

        public Criteria andClosedMonthIsNull() {
            addCriterion("closed_month is null");
            return (Criteria) this;
        }

        public Criteria andClosedMonthIsNotNull() {
            addCriterion("closed_month is not null");
            return (Criteria) this;
        }

        public Criteria andClosedMonthEqualTo(String value) {
            addCriterion("closed_month =", value, "closedMonth");
            return (Criteria) this;
        }

        public Criteria andClosedMonthNotEqualTo(String value) {
            addCriterion("closed_month <>", value, "closedMonth");
            return (Criteria) this;
        }

        public Criteria andClosedMonthGreaterThan(String value) {
            addCriterion("closed_month >", value, "closedMonth");
            return (Criteria) this;
        }

        public Criteria andClosedMonthGreaterThanOrEqualTo(String value) {
            addCriterion("closed_month >=", value, "closedMonth");
            return (Criteria) this;
        }

        public Criteria andClosedMonthLessThan(String value) {
            addCriterion("closed_month <", value, "closedMonth");
            return (Criteria) this;
        }

        public Criteria andClosedMonthLessThanOrEqualTo(String value) {
            addCriterion("closed_month <=", value, "closedMonth");
            return (Criteria) this;
        }

        public Criteria andClosedMonthLike(String value) {
            addCriterion("closed_month like", value, "closedMonth");
            return (Criteria) this;
        }

        public Criteria andClosedMonthNotLike(String value) {
            addCriterion("closed_month not like", value, "closedMonth");
            return (Criteria) this;
        }

        public Criteria andClosedMonthIn(List<String> values) {
            addCriterion("closed_month in", values, "closedMonth");
            return (Criteria) this;
        }

        public Criteria andClosedMonthNotIn(List<String> values) {
            addCriterion("closed_month not in", values, "closedMonth");
            return (Criteria) this;
        }

        public Criteria andClosedMonthBetween(String value1, String value2) {
            addCriterion("closed_month between", value1, value2, "closedMonth");
            return (Criteria) this;
        }

        public Criteria andClosedMonthNotBetween(String value1, String value2) {
            addCriterion("closed_month not between", value1, value2, "closedMonth");
            return (Criteria) this;
        }

        public Criteria andClosedSwitchIsNull() {
            addCriterion("closed_switch is null");
            return (Criteria) this;
        }

        public Criteria andClosedSwitchIsNotNull() {
            addCriterion("closed_switch is not null");
            return (Criteria) this;
        }

        public Criteria andClosedSwitchEqualTo(String value) {
            addCriterion("closed_switch =", value, "closedSwitch");
            return (Criteria) this;
        }

        public Criteria andClosedSwitchNotEqualTo(String value) {
            addCriterion("closed_switch <>", value, "closedSwitch");
            return (Criteria) this;
        }

        public Criteria andClosedSwitchGreaterThan(String value) {
            addCriterion("closed_switch >", value, "closedSwitch");
            return (Criteria) this;
        }

        public Criteria andClosedSwitchGreaterThanOrEqualTo(String value) {
            addCriterion("closed_switch >=", value, "closedSwitch");
            return (Criteria) this;
        }

        public Criteria andClosedSwitchLessThan(String value) {
            addCriterion("closed_switch <", value, "closedSwitch");
            return (Criteria) this;
        }

        public Criteria andClosedSwitchLessThanOrEqualTo(String value) {
            addCriterion("closed_switch <=", value, "closedSwitch");
            return (Criteria) this;
        }

        public Criteria andClosedSwitchLike(String value) {
            addCriterion("closed_switch like", value, "closedSwitch");
            return (Criteria) this;
        }

        public Criteria andClosedSwitchNotLike(String value) {
            addCriterion("closed_switch not like", value, "closedSwitch");
            return (Criteria) this;
        }

        public Criteria andClosedSwitchIn(List<String> values) {
            addCriterion("closed_switch in", values, "closedSwitch");
            return (Criteria) this;
        }

        public Criteria andClosedSwitchNotIn(List<String> values) {
            addCriterion("closed_switch not in", values, "closedSwitch");
            return (Criteria) this;
        }

        public Criteria andClosedSwitchBetween(String value1, String value2) {
            addCriterion("closed_switch between", value1, value2, "closedSwitch");
            return (Criteria) this;
        }

        public Criteria andClosedSwitchNotBetween(String value1, String value2) {
            addCriterion("closed_switch not between", value1, value2, "closedSwitch");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}